<div id="pageBody">
Enter your login:
            <g:form action="doLogin" method="post">
        	<table border="0">
        		<tr>
        			<td>
        				 Login
        			</td>
        			<td>
        				<input type="text" id="login" name="login" value='${user?.login}'></input>
        			</td>
        		</tr>
        		<tr>
        			<td>
        				Password
        			</td>
        			<td>
        				 <input type="password" id="password" name='password' value='${user?.password}'></input>
        			</td>
        		</tr>
        		<tr>
        			<td colspan="2">
        				<g:if test="${params.badlogin}">
						    <FONT COLOR="red">Bad login or password</FONT>
						</g:if>
        			</td>
        		</tr>
        		<tr>
        			<td>
	        			<input type="submit" value="Login"></input>
        			</td>
        			<td>
        				<g:link action="register">
        					<input type="button" value="Register"></input>
        				</g:link>
        			</td>
        		</tr>
        	</table>
 </g:form>
</div>